*{
    font-family: arial, 'Microsoft Yahei', '微软雅黑'
}

.main{
    padding-top:80px;
}


.login{
    margin: 0 auto;
    margin-top: 5rem;
    padding: 2rem;
    width: 20rem;
    border: 1px solid #f2f2f2;
    border-radius: 0.5rem;
}
.login .login-header{
    margin: 0 auto 1.0rem;
    text-align: center;
}
.login .layui-form-item {
    position: relative;
}
.login .layui-form-item .layui-input {
    padding-left: 38px;
}
.layadmin-user-login-icon {
    position: absolute;
    left: 1px;
    top: 1px;
    width: 38px;
    line-height: 36px;
    text-align: center;
    color: #d2d2d2;
}
.login .layui-form-item .switch-label{
    display: inline-block;
    vertical-align: middle;
    margin-top: 8px;
    padding-left: 8px;
}

/* 移动端防超宽 */
@media screen and (max-width:992px) {
    .login{
        width: 80%;
        padding: 1.0rem;
    }
}